5
5
.
.
5
5
.
.
c
c
l
l
i
i
p
p
p
p
e
e
d
d
I
I
n
n
f
f
o
o
.clipped
remo
ves content
of Chil
d View that
is outs
ide of the
Parent's V
iew.
Syntax
.
clipped
()
E
E
x
x
a
a
m
m
p
p
l
l
e
e
Example
struct
ContentView
:
View
{
var
b
ody
:
s
ome
View
{
VSt
ack
{
Text
(
"First"
)
Text
(
"Second"
).
offset
(x
: 30)
Text
(
"Third"
)
}.
border
(
Color
.
red
,
width: 2
).
clipped
()
}
}
Output